package com.dehui.traders.ui.activity;

import com.dehui.traders.BR;
import com.dehui.traders.R;
import com.dehui.traders.bean.OptionalStockBean;
import com.dehui.traders.databinding.ActivityAddOptionalStockBinding;
import com.dehui.traders.ui.viewmodle.AddOptionalStockViewModel;
import com.dehui.traders.widgets.CommonAdapter;

import java.util.ArrayList;
import java.util.List;

import me.goldze.mvvmhabit.base.BaseActivity;

/**
 * Created by hqq on 18.4.18.
 */

public class AddOptionalStockActivity extends BaseActivity<ActivityAddOptionalStockBinding,AddOptionalStockViewModel> implements AddOptionalStockViewModel.AddOptionalInterface {

    @Override
    public int initContentView() {
        return R.layout.activity_add_optional_stock;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public AddOptionalStockViewModel initViewModel() {
        return new AddOptionalStockViewModel(this,this);
    }

    @Override
    public void finishView(){
        finish();
    }


}
